package com.icoopoo.ibase.constant.modules;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.env.Environment;

@PropertySource(value = { "classpath:config/modules/common.properties" },ignoreResourceNotFound=false,encoding="UTF-8",name="common.properties")
public class CommonProperties {
	@Autowired
	Environment env;

	@Bean
	public String testBean() {
		
		String t = env.getProperty("test.param.evnUserNameSpringMvc");
		return t;
	}
	
}
